package com.zhousb.deviceManager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhousb.deviceManager.model.dto.AssetDto;
import com.zhousb.deviceManager.model.entity.KiOutboundDelivery;
import com.zhousb.deviceManager.model.so.OutboundPageSo;
import com.zhousb.deviceManager.model.vo.OutboundVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KiOutboundDeliveryMapper extends BaseMapper<KiOutboundDelivery> {

    void batchInsert(@Param("userId")Long userId, @Param("reason")String reason, @Param("list") List<AssetDto> list);

    IPage<OutboundVo> page(Page page, @Param("so")OutboundPageSo so);
 }
